package azalea.mqtt.parse.data;

import azalea.mqtt.parse.MqttData;

public class PublishMqttData extends MqttData{
	//30 17 00 03 61 2F 61 7B 22 69 64 22 3A 31 2C 22 76 61 6C 75 65 22 3A 32 7
	private String topic;
	private int qos;
	private byte[] payload;
	private int packageId;
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public byte[] getPayload() {
		return payload;
	}
	public void setPayload(byte[] payload) {
		this.payload = payload;
	}
	public int getQos() {
		return qos;
	}
	public void setQos(int qos) {
		this.qos = qos;
	}
	public int getPackageId() {
		return packageId;
	}
	public void setPackageId(int packageId) {
		this.packageId = packageId;
	}
	
}
